package com.express.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Address {

    private Integer id;
    private Integer userId;
    private Integer type;
    private String name;
    private String phone;
    private String address;
    private Integer isUse;
    private Integer status;
    private String creator;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createDate;
    private String updator;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateDate;
    private String remark;
	
    public Address() {
        super();
    }

    public Address(Integer id,Integer userId,Integer type,String name,String phone,String address,Integer isUse,Integer status,String creator,Date createDate,String updator,Date updateDate,String remark) {
        super();
        this.id = id;
        this.userId = userId;
        this.type = type;
        this.name = name;
        this.phone = phone;
        this.address = address;
        this.isUse = isUse;
        this.status = status;
        this.creator = creator;
        this.createDate = createDate;
        this.updator = updator;
        this.updateDate = updateDate;
        this.remark = remark;
    }

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getType() {
        return this.type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return this.phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return this.address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getIsUse() {
        return this.isUse;
    }

    public void setIsUse(Integer isUse) {
        this.isUse = isUse;
    }

    public Integer getStatus() {
        return this.status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCreator() {
        return this.creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Date getCreateDate() {
        return this.createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdator() {
        return this.updator;
    }

    public void setUpdator(String updator) {
        this.updator = updator;
    }

    public Date getUpdateDate() {
        return this.updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }


}
